package cn.iocoder.yudao.module.member.controller.admin.userwithdraw.vo;

import cn.iocoder.yudao.module.member.enums.userwithdraw.WithdrawStatusEnum;
import lombok.*;

import java.util.*;

import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 提现分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class UserWithdrawPageReqVO extends PageParam {

    @Schema(description = "用户id", example = "30200")
    private Long userId;

    @Schema(description = "手机号", example = "131123456789")
    private String mobile;

    @Schema(description = "邀请码", example = "be3e07d5bc")
    private String inviteCode;

    @Schema(description = "提现金额，单位：分")
    private Integer withdraw;

    /**
     * 提现状态
     * <p>
     * 枚举 {@link WithdrawStatusEnum}
     */
    @Schema(description = "提现状态")
    private Integer status;

    @Schema(description = "提现人姓名")
    private String withdrawUserName;

    @Schema(description = "提现到阿里账号")
    private String aliAccount;

    @Schema(description = "支付宝单号")
    private String aliNo;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}